<?php
include("../includes/config.php");
include("../includes/class/user.class.php");

$user = new User(); 
$code	= $_POST['code'];
$renam  = $_POST['renam'];

if($user->deleteImage($code))
{	
	echo 1;
}
else
	echo 0;

?>